#!/bin/sh
#(c) Copyright 2006 Barry Kauler www.puppylinux.com
#2007 Lesser GPL licence v2 (http://www.fsf.org/licensing/licenses/lgpl.html)
# now a cli app that provides info to pdiag and pmodemdiag...

export TEXTDOMAIN=pupscan
export OUTPUT_CHARSET=UTF-8

echo "$(gettext 'Please wait, probing hardware...')"

lspci -nn -k > /tmp/chipnummod.txt
[ ! -s /tmp/chipnummod.txt ] && echo "No PCI interfaces" > /tmp/chipnummod.txt

lsusb -v > /tmp/usbchipnummod.txt
[ ! -s /tmp/usbchipnummod.txt ] && echo "No plugged-in USB devices" > /tmp/usbchipnummod.txt


###END###
